package at.mri.dogwatch.client.pages.header;

import com.gwtplatform.mvp.client.Presenter;
import com.gwtplatform.mvp.client.View;
import com.gwtplatform.mvp.client.annotations.ProxyCodeSplit;
import com.gwtplatform.mvp.client.proxy.Proxy;
import com.google.inject.Inject;
import com.google.gwt.event.shared.EventBus;
import com.gwtplatform.mvp.client.proxy.RevealContentEvent;
import at.mri.dogwatch.client.pages.layout.MainPagePresenter;

public class LoginHeaderPresenter extends
		Presenter<LoginHeaderPresenter.MyView, LoginHeaderPresenter.MyProxy> {

	public interface MyView extends View {
	}

	@ProxyCodeSplit
	public interface MyProxy extends Proxy<LoginHeaderPresenter> {
	}

	@Inject
	public LoginHeaderPresenter(final EventBus eventBus, final MyView view,
			final MyProxy proxy) {
		super(eventBus, view, proxy);
	}

	@Override
	protected void revealInParent() {
		RevealContentEvent
				.fire(this, MainPagePresenter.SLOT_SetHeaderContent, this);
		
	}

	@Override
	protected void onBind() {
		super.onBind();
	}
}
